package com.record.service;



import com.record.dto.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;
import java.util.HashMap;


public interface EccService {



    //统计1，只计算其中的频次
    AnalysisResultDto analyzeExcel(MultipartFile file) throws IOException;


    //求均值
    Map<String, Object> analyzeGroupAverage(MultipartFile file) throws IOException;

    //标准差
    Map<String, Object> analyzeGroupStd(MultipartFile file) throws IOException;


    //正态分布-W,P
    Map<String, Object> analyzeShapiro(MultipartFile file) throws IOException;


    //方差齐性分析
    Map<String, Object> analyzeVariance(MultipartFile file) throws IOException;

    //方差分析
    Map<String, Object> analyzeAnova(MultipartFile file) throws IOException;


    //t检验
    Map<String, Object> analyzeTTest(MultipartFile file) throws IOException;


    Map<String, Object> analyzeNonParametricFull(MultipartFile file) throws IOException;


    //线性回归
    Map<String, Object> analyzeLinearRegression(MultipartFile file) throws IOException;



    Map<String, Object> clusterAnalysis(MultipartFile file, Integer k);



    Map<String, Object> chiSquareTest(MultipartFile file, Integer sheetIndex);



    Map<String, Object> analyzeAssociationRules(MultipartFile file, Integer sheetIndex);












}
